package com.dong.service.impl;

import com.dong.dao.ManagerMapper;
import com.dong.entity.Manager;
import com.dong.service.ManagerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class ManagerServiceImpl implements ManagerService {
    @Autowired
    private ManagerMapper managerMapper;
    @Override
    public Manager selectManagerByNP(String manager_name, String manager_pwd) {
        Manager manager = managerMapper.selectManagerByNP(manager_name, manager_pwd);
        return manager;
    }
}
